for i in range(0,10):
	print(" "*(60+i*3),end=" ")
	for j in range(i+1,10):
		print("{:1}*{:1}={:2}".format(j,(i+1),(i+1)*j),end=" ")
	print("")